You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TOpenCLMtxVec Class > TOpenCLMtxVec Methods > CartToPolar Method > TOpenCLMtxVec.CartToPolar Method ([In] TOpenCLMtxVec, [In] TOpenCLMtxVec, int, int, int, int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TOpenCLMtxVec.CartToPolar Method ([In] TOpenCLMtxVec, [In] TOpenCLMtxVec, int, int, int, int)

Convert calling object elements [Index] to [Index+Len-1] from cartesian to polar form.

Syntax
C#
Visual Basic
public void CartToPolar([In] TOpenCLMtxVec AmpltVec, [In] TOpenCLMtxVec PhaseVec, int AmpltIndex, int PhaseIndex, int Index, int Len);

Store the results in AmpltVec (radius values) and PhaseVec(phase values). Size and TOpenCLBase.ComplexComplex properties of the calling vector must be set explicitly. An exception is raised if array borders are overrun or underrun.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!